package com.thb.utils;

import java.util.Random;

public class RandomUtils {
	
	public static int[] ints = {1,2,3,4,5,6,7,8,9,0};
	
	public static String getRandom(int longs){
		   Random random = new Random();
		   String ss = "";
		   for(int i=0;i<longs;i++){
			   int index = Math.abs(random.nextInt()%10);
			   ss += ints[index];
		   }
		   
		return ss;
	}

}
